<template>
  <div class="table-box">
    <el-form
      label-position="right"
      label-width="auto"
      :model="formLabelAlign"
      style="width: 400px"
    >
      <el-form-item label="用户名">
        <el-input v-model="formLabelAlign.name" />
      </el-form-item>
      <el-form-item label="请输入旧密码">
        <el-input v-model="formLabelAlign.region" />
      </el-form-item>
      <el-form-item label="请输入新密码">
        <el-input v-model="formLabelAlign.type" />
      </el-form-item>
      <el-form-item label="请确认新密码">
        <el-input v-model="formLabelAlign.type" />
      </el-form-item>
      <el-form-item label="性别" prop="resource">
        <el-radio-group>
          <el-radio value="Sponsorship">男</el-radio>
          <el-radio value="Venue">女</el-radio>
        </el-radio-group>
      </el-form-item>
      <el-form-item label="入职时间">
        <el-input v-model="formLabelAlign.type" />
      </el-form-item>
      <el-form-item label="离职时间">
        <el-input v-model="formLabelAlign.type" />
      </el-form-item>
      <el-form-item label="联系电话">
        <el-input v-model="formLabelAlign.type" />
      </el-form-item>
      <el-form-item label="电子邮箱">
        <el-input v-model="formLabelAlign.type" />
      </el-form-item>
      <el-form-item style="margin-left: 8rem">
        <el-button type="primary"> 保存修改 </el-button>
        <el-button>取消</el-button>
      </el-form-item>
    </el-form>
  </div>
</template>

<script lang="ts" setup>
import { ref } from "vue";

const formLabelAlign = ref({
  name: "",
  region: "",
  type: "",
});
</script>

<style scoped>
.table-box {
  width: fit-content;
  margin: 0 auto;
}
</style>
